package com.ruoyi.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息-履历对象 hr_user_cv
 * 
 * @author ruoyi
 * @date 2022-02-28
 */
public class HrUserCv extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String userCvUuid;

    /** 用户（附表）UUID-外键 */
    @Excel(name = "用户", readConverterExp = "附=表")
    private String fkHrUserUuid;

    /** 序号 */
    @Excel(name = "序号")
    private String orderNum;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginAt;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endAt;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 职务（外键） */
    @Excel(name = "职务", readConverterExp = "外=键")
    private Long fkSysPostId;

    public void setUserCvUuid(String userCvUuid) 
    {
        this.userCvUuid = userCvUuid;
    }

    public String getUserCvUuid() 
    {
        return userCvUuid;
    }
    public void setFkHrUserUuid(String fkHrUserUuid) 
    {
        this.fkHrUserUuid = fkHrUserUuid;
    }

    public String getFkHrUserUuid() 
    {
        return fkHrUserUuid;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setBeginAt(Date beginAt) 
    {
        this.beginAt = beginAt;
    }

    public Date getBeginAt() 
    {
        return beginAt;
    }
    public void setEndAt(Date endAt) 
    {
        this.endAt = endAt;
    }

    public Date getEndAt() 
    {
        return endAt;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setFkSysPostId(Long fkSysPostId) 
    {
        this.fkSysPostId = fkSysPostId;
    }

    public Long getFkSysPostId() 
    {
        return fkSysPostId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userCvUuid", getUserCvUuid())
            .append("fkHrUserUuid", getFkHrUserUuid())
            .append("orderNum", getOrderNum())
            .append("beginAt", getBeginAt())
            .append("endAt", getEndAt())
            .append("companyName", getCompanyName())
            .append("fkSysPostId", getFkSysPostId())
            .append("remark", getRemark())
            .toString();
    }
}
